package com.tjmc.tiomsresource.service;

import com.tjmc.tiomscore.model.TiDistrict;
import com.tjmc.tiomscore.model.TiDistrictCompany;
import com.tjmc.tiomscore.model.TiSubnet;
import com.tjmc.tiomscore.model.TranPtnHwSbn;

import java.util.List;

/**
 * @author Luc
 * @version 1.0
 * @date 2020-05-23 11:38
 */
public interface CMSbnService extends CMSuperService<TranPtnHwSbn> {

    List<TranPtnHwSbn> getAllTranPtnHwSbn();

    void buildTiSubnetToDB();

    TiDistrict getTiDistrictByTiSubnetId(Long tiSubnetId);

    TiDistrictCompany getTiDistrictCompanyByTiSubnetId(Long tiSubnetId);

    List<TiDistrictCompany> getAllTiDistrictCompanies();

    TiSubnet getTiSubnetByTiSubnetId(Long tiSubnetId);

    List<TiSubnet> getTiSubnetsByParentId(Long parentId);
}
